package com.hry.store.cms.service;

import com.hry.store.cms.pojo.TopCategory;

import java.util.List;

public interface CategoryService {
    List<TopCategory> getTopCategory();

    TopCategory getByTopCategory(Integer topCategoryId);

    int updateTopCategoryId(Integer topCategoryId, String topCategoryName, Integer status);

    int deleteByTopCategory(Integer topCategoryId);

    int addTopCategory(String topCategoryName, Integer status);
}
